
package com.work.mvc.view.panels;

import com.vaadin.ui.HorizontalLayout;

public class CenterPanel extends HorizontalLayout {

	private static final long serialVersionUID = -256339247645411255L;

	private MenuPanel menuPanel = new MenuPanel();
	
	private ContentPanel contentPanel = ContentPanel.getInstance();

	public CenterPanel()
	{
		init();
	}

	private void init()
	{
		this.addComponent(menuPanel);
		this.addComponent(contentPanel);
		this.setExpandRatio(contentPanel, 1.0f);
		this.setSizeFull();
	}
}
